<template>
  <div>
    <van-tabbar route v-model="active">
      <van-tabbar-item name="home" icon="wap-home" replace to="/home"
        >首页</van-tabbar-item
      >
      <van-tabbar-item name="friends" icon="fire" replace to="/ncov-travel"
        >出行</van-tabbar-item
      >
      <van-tabbar-item name="search" icon="add-square" replace to="/ncov-avoid"
        >防疫</van-tabbar-item
      >
      <van-tabbar-item name="setting" icon="friends" replace to="/mine"
        >我的</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'FooterBar',
  data() {
    return {
      active: 'home'
    }
  }
}
</script>

<style lang="scss" scoped></style>
